package io.github.talelin.sleeve.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Description:接受前端传来的数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BannerDTO {
    @NotBlank
    private String name;
    @NotBlank
    private String title;
    @NotBlank
    private String description;
    @NotBlank
    private String img;
}
